package com.itheima.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.TbAssignRecord;
import com.itheima.pojo.Transfer;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * (TbAssignRecord)表数据库访问层
 *
 * @author makejava
 * @since 2022-01-16 15:48:53
 */
public interface TransferDao extends BaseMapper<Transfer> {


    Integer selectCountByTimeAndType(
            @Param("startTime") Date startTime,
            @Param("endTime") Date endTime,
            @Param("type") String type);

    Long selectContractIdByClueId(@Param("clueId") Long clueId);
}

